The Trim Selection feature removes all tab or space characters from the end of each line in the current document or selection. This can be very useful if the END key is commonly used in order to position the cursor after the last character in the line.